﻿package  {
	import flash.display.MovieClip;
	import flash.geom.Point;
	
	public class Obstacle extends Tile{
		
		public function Obstacle(aX:int,aY:int,aWidth:int,aHeight:int){
			super(aX,aY,aWidth,aHeight);
		}
		override public function CollisionCheck(locX:int, locY:int):Boolean{
			//trace("" + hitTestPoint(locX,locY));
			return hitTestPoint(locX,locY);
			
		}
		
	}
	

	
}